#include "Console.h"
#include "Robot.h"
#include "Command.h"
#include <fstream>
#include <iostream>
using namespace std;


int main() {
	cout<<"ici"<<endl;
	cout << "Initialisation du robot" << endl;
	Position p;
	Robot r(p);
	cout << "Initialisation des afficheurs" << endl;
	Console* c1 = new Console("Console 1");
	Console* c2 = new Console("Console 2");
	cout << "Attache des afficheurs" << endl;
	r.attach(c1);
	r.attach(c2);

	cout << "Nombre de commandes  : "  << Command::lesCommandes.size()
			<< endl;

	//InvocateurCommand inv = new InvocateurCommand("commandes.txt");
	//while(commande != null) { inv.lirecommande(); ?
	//inv.executer();
	// } ?


}
